package com.lz.frame.common;


import javax.validation.constraints.NotNull;

public class BaseDTO {
    @NotNull
    private String id;

    public BaseDTO() {
    }

    public BaseDTO(String id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    public String toString() {
        return "BaseDTO{id = " + id + "}";
    }
}
